<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  padding-top: 80px; 
}

.container {
  width: 1190px;
  margin: auto;
  padding: 0 15px;
}

.layout-content {
  min-height: 200px;
  overflow: hidden;
  background: #fff;
}

.layout-content-main {
  padding: 10px;
}

.layout-copy {
  text-align: center;
  padding: 10px 0 20px;
  color: #9ea7b4;
}

.mb20 {
  margin-bottom: 20px;
}
</style>

<template>
  <div id="app" class="layout">
    <top-nav></top-nav>
    <div class="layout-content container">
      <router-view></router-view>
    </div>
    <div class="layout-copy">
      2011-2016 &copy; 来学教育机构
    </div>
  </div>
</template>

<script>
import TopNav from '@/components/Nav'

export default {
  name: 'app',
  components: { TopNav }
}
</script>
